﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02001219 RID: 4633
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class StartFinishSubMissionScNotify : IMessage<StartFinishSubMissionScNotify>, IMessage, IEquatable<StartFinishSubMissionScNotify>, IDeepCloneable<StartFinishSubMissionScNotify>, IBufferMessage
	{
		// Token: 0x17003AB7 RID: 15031
		// (get) Token: 0x0600CFB0 RID: 53168 RVA: 0x0022F7C8 File Offset: 0x0022D9C8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<StartFinishSubMissionScNotify> Parser
		{
			get
			{
				return StartFinishSubMissionScNotify._parser;
			}
		}

		// Token: 0x17003AB8 RID: 15032
		// (get) Token: 0x0600CFB1 RID: 53169 RVA: 0x0022F7CF File Offset: 0x0022D9CF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return StartFinishSubMissionScNotifyReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17003AB9 RID: 15033
		// (get) Token: 0x0600CFB2 RID: 53170 RVA: 0x0022F7E1 File Offset: 0x0022D9E1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return StartFinishSubMissionScNotify.Descriptor;
			}
		}

		// Token: 0x0600CFB3 RID: 53171 RVA: 0x0022F7E8 File Offset: 0x0022D9E8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public StartFinishSubMissionScNotify()
		{
		}

		// Token: 0x0600CFB4 RID: 53172 RVA: 0x0022F7F0 File Offset: 0x0022D9F0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public StartFinishSubMissionScNotify(StartFinishSubMissionScNotify other) : this()
		{
			this.subMissionId_ = other.subMissionId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600CFB5 RID: 53173 RVA: 0x0022F815 File Offset: 0x0022DA15
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public StartFinishSubMissionScNotify Clone()
		{
			return new StartFinishSubMissionScNotify(this);
		}

		// Token: 0x17003ABA RID: 15034
		// (get) Token: 0x0600CFB6 RID: 53174 RVA: 0x0022F81D File Offset: 0x0022DA1D
		// (set) Token: 0x0600CFB7 RID: 53175 RVA: 0x0022F825 File Offset: 0x0022DA25
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint SubMissionId
		{
			get
			{
				return this.subMissionId_;
			}
			set
			{
				this.subMissionId_ = value;
			}
		}

		// Token: 0x0600CFB8 RID: 53176 RVA: 0x0022F82E File Offset: 0x0022DA2E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as StartFinishSubMissionScNotify);
		}

		// Token: 0x0600CFB9 RID: 53177 RVA: 0x0022F83C File Offset: 0x0022DA3C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(StartFinishSubMissionScNotify other)
		{
			return other != null && (other == this || (this.SubMissionId == other.SubMissionId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600CFBA RID: 53178 RVA: 0x0022F86C File Offset: 0x0022DA6C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.SubMissionId != 0U)
			{
				num ^= this.SubMissionId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600CFBB RID: 53179 RVA: 0x0022F8AB File Offset: 0x0022DAAB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600CFBC RID: 53180 RVA: 0x0022F8B3 File Offset: 0x0022DAB3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600CFBD RID: 53181 RVA: 0x0022F8BC File Offset: 0x0022DABC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.SubMissionId != 0U)
			{
				output.WriteRawTag(24);
				output.WriteUInt32(this.SubMissionId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600CFBE RID: 53182 RVA: 0x0022F8F0 File Offset: 0x0022DAF0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.SubMissionId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.SubMissionId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600CFBF RID: 53183 RVA: 0x0022F92E File Offset: 0x0022DB2E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(StartFinishSubMissionScNotify other)
		{
			if (other == null)
			{
				return;
			}
			if (other.SubMissionId != 0U)
			{
				this.SubMissionId = other.SubMissionId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600CFC0 RID: 53184 RVA: 0x0022F95F File Offset: 0x0022DB5F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600CFC1 RID: 53185 RVA: 0x0022F968 File Offset: 0x0022DB68
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 24U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.SubMissionId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04005346 RID: 21318
		private static readonly MessageParser<StartFinishSubMissionScNotify> _parser = new MessageParser<StartFinishSubMissionScNotify>(() => new StartFinishSubMissionScNotify());

		// Token: 0x04005347 RID: 21319
		private UnknownFieldSet _unknownFields;

		// Token: 0x04005348 RID: 21320
		public const int SubMissionIdFieldNumber = 3;

		// Token: 0x04005349 RID: 21321
		private uint subMissionId_;
	}
}
